package main

import "fmt"

// get input from keyboard

func main() {
	// get input format : [name age sal isPass]

	// func Scanf(format string, a ...interface{}) (n int, err error)
	// func Scanln(a ...interface{}) (n int, err error)

	var name string
	var age byte
	var sal float32
	var isPass bool

	fmt.Println("input name age sal isPass")

	// fmt.Scanf("%s %d %f %t", &name, &age, &sal, &isPass)
	fmt.Scanln(&name)
	fmt.Scanln(&age)
	fmt.Scanln(&sal)
	fmt.Scanln(&isPass)

	fmt.Println("after is :", name, age, sal, isPass)
}
